<template>
    <div>
        <!-- 子路由输出 -->
        <router-view></router-view>

        <van-tabbar route  active-color="#ee0a24" inactive-color="#000" >
			<van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
			<van-tabbar-item icon="apps-o"  to="/category">分类</van-tabbar-item>
			<van-tabbar-item icon="cart-o" to="/cart">购物车</van-tabbar-item>
			<van-tabbar-item icon="friends-o" to="/user">我的</van-tabbar-item>
		</van-tabbar>
    </div>
</template>

<script setup lang="ts">

</script>

<style scoped>

</style>